package com.pcbly.web.bean.table;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

public class ColumnPropertyBean extends AbstractBaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 129511399231427626L; 
	
	private String propertyName;
	
	private String propertyValue;
	
	private String iflag;
	
	private ColumnBean columnBean; 
	
	public String getIflag() {
		return iflag;
	}

	public void setIflag(String iflag) {
		this.iflag = iflag;
	}

	public ColumnBean getColumnBean() {
		return columnBean;
	}

	public void setColumnBean(ColumnBean columnBean) {
		this.columnBean = columnBean;
	} 

	public String getPropertyName() {
		return propertyName;
	}

	public void setPropertyName(String propertyName) {
		this.propertyName = propertyName;
	}

	public String getPropertyValue() {
		return propertyValue;
	}

	public void setPropertyValue(String propertyValue) {
		this.propertyValue = propertyValue;
	}

	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

}
